<?php

namespace service\vo\subject;

class SubjectExt
{
    //id
    private int $id;
    //类型，1.背景知识，2.翻译技巧，3.重点词汇
    private int $type;
    //名称
    private string $title;
    //内容
    private string $content;
    //添加时间
    private string $addTime;

    /**
     * @return int
     */
    public function getId(): int
    {
        return $this->id;
    }

    /**
     * @param int $id
     */
    public function setId(int $id): void
    {
        $this->id = $id;
    }

    /**
     * @return int
     */
    public function getType(): int
    {
        return $this->type;
    }

    /**
     * @param int $type
     */
    public function setType(int $type): void
    {
        $this->type = $type;
    }

    /**
     * @return string
     */
    public function getContent(): string
    {
        return $this->content;
    }

    /**
     * @param string $content
     */
    public function setContent(string $content): void
    {
        $this->content = $content;
    }

    /**
     * @return string
     */
    public function getAddTime(): string
    {
        return $this->addTime;
    }

    /**
     * @param string $addTime
     */
    public function setAddTime(string $addTime): void
    {
        $this->addTime = $addTime;
    }

    /**
     * @return string
     */
    public function getTitle(): string
    {
        return $this->title;
    }

    /**
     * @param string $title
     */
    public function setTitle(string $title): void
    {
        $this->title = $title;
    }
}